using System.Runtime.Serialization;
using RentalOfCars.Domain.Entities;
using System.Collections.Generic;

namespace RentalOfCars.Infrastructure.Entities
{
    [DataContract]
    public class Feature : IFeature
    {
        public Feature(int id, string name)
        {
            ID = id;
            Name = name;
        }

        [DataMember]
        public int ID { get; private set; }

        [DataMember]
        public string Name { get; private set; }

    }
}